<template>
  <div class="example-warp-title">
    <div class="warp-title">
      <slot name="title"></slot>
    </div>
    <div class="warp-describe">
      <slot name="describe"></slot>
    </div>
  </div>
</template>

<script setup lang="ts">
defineOptions({
  name: 'CoreExampleTitle'
})
</script>

<style scoped lang="scss">
.example-warp-title {
  padding: 20px 24px;
  margin-bottom: 16px;
  background-color: var(--core-bg-color-03);
  border: 1px solid var(--core-border-color-01);
  border-radius: 10px;

  .warp-title {
    margin-bottom: 16px;
    font-size: 18px;
    font-weight: 600;
  }

  .warp-describe {
    font-size: 14px;
    color: var(--core-text-color-05);
  }
}
</style>
